﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XbsWebAPI.EntityFrameworkCore.Entities
{
    /// <summary>
    /// 配套设施
    /// </summary>
    public class SupportingFacility: XbsBasicClass
    {
        /// <summary>
        /// 服务名称
        /// </summary>
        [Required]
        [StringLength(9)]
        public string Name { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(9)]
        public string Decription { get; set; }

        /// <summary>
        /// 房型中间表
        /// </summary>
        public virtual ICollection<HouseTypeSupportingFacility> HouseTypeSupportingFacilities { get; set; }
    }
}
